<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('绑定工单系统')"/>
    <link rel="stylesheet" type="text/css" href="https://res.wx.qq.com/open/libs/weui/2.4.0/weui.css">
</head>

<body>
<div class="page">
    <form method="post" action="/wx/bindOpenId">
        <div class="weui-form">
            <div class="weui-form__text-area">
                <h2 class="weui-form__title">工单系统绑定</h2>
                <div class="weui-form__desc">此页面用于绑定微信公众号和您的工单管理账号,以此来实现消息推送的目的,您只需要正确填入您的账号即可!</div>
            </div>
            <div class="weui-form__control-area">
                <div class="weui-cells__group weui-cells__group_form">
                    <div class="weui-cells__title">欢迎绑定~</div>
                    <div class="weui-cells weui-cells_form">

                        <div class="weui-cell weui-cell_active">
                            <div class="weui-cell__bd">
                                <input class="weui-input" name="openId" th:value="${openId}" type="hidden"/>
                            </div>
                        </div>

                        <div class="weui-cell weui-cell_active">
                            <div class="weui-cell__hd"><label class="weui-label">openId(不可修改)</label></div>
                            <div class="weui-cell__bd">
                                <input class="weui-input" th:value="${openId}" disabled/>
                            </div>
                        </div>
                        <div class="weui-cell weui-cell_active">
                            <div class="weui-cell__hd"><label class="weui-label">系统账号</label></div>
                            <div class="weui-cell__bd">
                                <input id="js_input" name="account" class="weui-input" placeholder="填写工单系统账号"/>
                            </div>
                        </div>

                    </div>
                </div>
            </div>

            <div class="weui-form__opr-area">
                <button class="weui-btn weui-btn_primary " type="submit" id="showTooltips">绑定工单系统</button>
            </div>

            <div class="weui-form__extra-area">
                <div class="weui-footer">
                    <p class="weui-footer__links">
                        <a href="javascript:" class="weui-footer__link">神州黎明工单管理系统</a>
                    </p>
                </div>
            </div>
        </div>
    </form>

</div>
<script type="text/javascript">

    $("#js_input").focus()
</script>

</div>
</body>
</html>